ul{
    margin: 0;
    padding: 0;
    list-style: none;
}
body{
    background-color: #f5f5f5;
}
.container{
    background-color: #fff;
}
a{
    text-decoration: none;
    color: #666;
}
a:hover{
    text-decoration: none;
}
@media screen and (min-width:1280px){
    .container{
        width: 1280px;
    }
}
header{
    padding-left: 0!important;
}
.logo{
    background: #3795DA;
}
.logo span{
    display: block;
    height: 50px;
    line-height: 50px ;
    color: #fff;
    font-size: 18px;
    text-align: center;
}
.logo img{
    /* width: 100%; */
    max-width: 100%;
    display: block;
    margin: 0 auto;
}
/* 我们如果进入超小屏幕。隐藏图片 */
/* 事先准备好盒子，超小屏幕下显示 */
.nav{
    background-color: #eee;
    border-bottom: 1px solid #ccc;
}
.nav a{
    display: block;
    padding-left: 30px;
    height: 50px;
    line-height: 50px;
    font-size: 16px;
}
.nav a:hover{
    background-color: WHITE;
    color: #333;
}
.nav a::before{
    vertical-align: middle;
    padding-right: 5px;
}
/* 当进入小屏幕和超小屏幕时nav里里浮动 宽度为20% */
@media screen and (max-width:991px){
    .nav li{
        float: left;
        width: 20%;
    }
    article{
        margin-top: 10px;
    }
}
/* 当进入超小屏幕时文字会变小 */
/* 当进入超小屏幕时第一个li宽度100% 剩下的50% */
@media screen and (max-width:767px){
    .nav li a{
        font-size: 14px;
        padding: 3px;
    }
    .news li:nth-child(1){
        width: 100% !important;
    }
    .news li{
        width: 50% !important;
    }
    .publish h3{
        font-size: 14px;
    }
}
.news li{
    width:25%;
    float: left;
    height: 128px;
    padding-right: 10px;
    margin-bottom: 10px;
}


.news li a{
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    
}
.news li:nth-child(1){
    width: 50%;
    height: 266px;
    
}
.news li:nth-child(1) p{
    line-height: 41px;
    font-size: 20px;
    padding: 0 10px;
}
.news li a img{
    width: 100%;
    height: 100%;
}
.news li a p{
    padding:5px 10px;
    margin-bottom: 0;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 41px;
    left: 0;
    background: rgba(0,0,0,0.5);
    font-size: 12px;
    color: white;

}
.publish{
    border-top: 1px solid #ccc;
}
.publish .row{
    border-bottom: 1px solid #ccc;
    padding: 10px 0;
}
.pic{

    margin-top: 10px;
}
.pic img{
    width: 100%;
}
.banner img{
    width: 100%;
}
.hot {
    display: block;
    margin-top: 20px;
    padding: 0 20px 20px;
    border: 1px solid #ccc;
}
.hot span{
    margin-bottom: 20px;
    border-radius: 0;
}
.hot p{
    font-size: 12px;
}